package com.zuo.demo01.service;

import com.zuo.demo01.pojo.Catagory;

import java.util.List;
import java.util.Map;

public interface CatagoryService {

    public List<Catagory> findAll();

    public List<Catagory> findByPage(Map<String,Integer> map);

    public Catagory findByName(Catagory catagory);

    public int count();

    public int insert(Catagory catagory);

    public int delete(int id);

    public int update(Catagory catagory);




}
